<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>单聊</title>
    <!--引入外部的 JS 库，这些 JS 库在 pom.xml 文件中通过依赖加入进来-->
    <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.2/sockjs.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js"></script>
    <!--自定义js-->
    <script src="/chat.js"></script>
</head>
<body>
<div id="chat">
    <div id="chatsContent">
        <div>
            请输入聊天内容：
            <input type="text" id="content" placeholder="聊天内容">
            目标用户：
            <input type="text" id="to" placeholder="目标用户">
            <button id="send" type="button">发送</button>
        </div>
    </div>
</div>
</body>
</html>
